import Vue from 'vue'

/*ant UI  所有组件：https://github.com/vueComponent/ant-design-vue/blob/master/site/components.js  */
import {
    Alert, Button, Breadcrumb, BackTop, Col,
    Card, Checkbox, Dropdown, Form, Icon,
    Input, InputNumber, Layout, Menu,
    DatePicker, Modal, Spin, Popconfirm,
    Radio, Row, Select, Skeleton, Switch,
    Table, Tooltip, Upload, LocaleProvider,
    Pagination, message, TreeSelect, Tree, Tabs, Tag,
    Collapse, List, Badge, Carousel, Empty, AutoComplete, Slider
} from 'ant-design-vue'

Vue.use(BackTop); Vue.use(Layout); Vue.use(Menu);
Vue.use(Icon); Vue.use(Input); Vue.use(Dropdown);
Vue.use(Button); Vue.use(Form); Vue.use(Alert);
Vue.use(Checkbox); Vue.use(Table); Vue.use(Select);
Vue.use(Row); Vue.use(Col); Vue.use(Popconfirm);
Vue.use(Radio); Vue.use(InputNumber); Vue.use(Tooltip);
Vue.use(Breadcrumb); Vue.use(DatePicker); Vue.use(Switch);
Vue.use(Upload); Vue.use(LocaleProvider); Vue.use(Spin);
Vue.use(Modal); Vue.use(Card); Vue.use(Skeleton);
Vue.use(Pagination); Vue.use(TreeSelect); Vue.use(Tree); Vue.use(Tabs);
Vue.use(Collapse); Vue.use(List); Vue.use(Badge);
Vue.use(Tag); Vue.use(Carousel); Vue.use(Empty); Vue.use(AutoComplete);
Vue.use(Slider);
Vue.prototype.$message = message;
Vue.prototype.$warning = Modal.warning;
Vue.prototype.$confirm = Modal.confirm;
